package org.zsl2.dao;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.zsl2.entity.Customer;

//@Component
@Repository
/**
 * 数据存储
 *   数据持久化
 * */
public class CustomerDAOImpl implements ICustomerDAO {
    @Override
    public void insert(Customer customer) {
        System.out.println("向数据库添加一个客户信息");
    }

    @Override
    public void update(Customer customer) {

    }
}
